﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CuaHangLego.Model
{
    public class NhaCungCap : BaseModel
    {
        public int MaSo { get; set; }
        public string Ten { get; set; }
        public string DiaChi { get; set; }
        public string Email { get; set; }
        public string DienThoai { get; set; }

        public NhaCungCap()
        {
        }

        public NhaCungCap(int MaSo, string Ten, string DiaChi, string Email, string DienThoai)
        {
            this.MaSo = MaSo;
            this.Ten = Ten;
            this.DiaChi = DiaChi;
            this.Email = Email;
            this.DienThoai = DienThoai;
        }

        public override string ToString()
        {
            return this.Ten;
        }
    }
}
